package com.graduate.util;

public enum ResponseCode {
	SUCCESS(0,"SUCCESS"),//删除、更新时可以使用
	FAILED(1,"FAILED");//
	
	private final int code;
	private final String desc;
	
	private ResponseCode(int code,String desc) {
		this.code=code;
		this.desc=desc;
	}
	
	public int getCode() {
		return code;
	}
	public String getDesc() {
		return desc;
	}
}
